package com.woniuxy.yoga.business.model.exception;

import com.woniuxy.yoga.commons.core.exception.YogaException;

public class BusinessException extends YogaException {
    public BusinessException(BusinessExceptionCode bec) {
        super(bec.getCode(), bec.getMessage());
    }
    public BusinessException(Integer code,String message) {
        super(code, message);
    }
}
